
<div id="page-heading">
	<h1>{$title}</h1>
</div>


<table border="0" width="80%" cellpadding="0" cellspacing="0" id="product-table">

	<tr>
            <td width="16%"><strong>Date</strong></td>
		<td width="24%"><strong>Details</strong></td>
                <td width="12%"><strong>Debit</strong></td>
                <td width="12%"><strong>Credit</strong></td>
                <td width="16%"><strong>Balance</strong></td>
	</tr>
        
           {$accounthtml}

        <tr >
            <td colspan="6" width="80%"><strong>Add/Remove credit</strong>
		&nbsp;&nbsp;
                <select name="type" id="type" onchange="getSubCat(this.id)">
		<option value="1">+</option>
		<option value="2">-</option>
		</select>
                &nbsp;&nbsp;
                <strong><input type="text" name="txtQty" id="txtQty" value=" " maxlength="7" size="7" onkeyup="validateQty()" class="quantity qinp" /></strong>
              &nbsp;&nbsp;
                <strong><input type="hidden" name="userid" id="userid" value="{$userid}" /><input type="button" name="submit" id="txtQty" value="submit" onclick="updatecredit()"/></strong>

	</tr>
</table>

